package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import java.util.List;
import ve.usb.cohesion.runtime.Pair;


public class FPaiRemuneracion extends org.apache.struts.action.ActionForm {
    
    
    public FPaiRemuneracion() {
        super();
        idRemuneracion = 0l;
        resolucion = 0l;
        listPaiResolucion = null;
        concepto = "";
        tipo_Financiamiento = "";
        fec_Ini = null;
        fec_Fin = null;

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        idRemuneracion = 0l;
        resolucion = 0l;
        listPaiResolucion = null;
        concepto = "";
        tipo_Financiamiento = "";
        fec_Ini = null;
        fec_Fin = null;

    }

    public static FPaiRemuneracion clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FPaiRemuneracion fFPaiRemuneracion = (FPaiRemuneracion) sess.getAttribute("FPaiRemuneracion");
        if (fFPaiRemuneracion == null) {
            fFPaiRemuneracion = new FPaiRemuneracion();
            sess.setAttribute("FPaiRemuneracion", fFPaiRemuneracion);
        } else {
            fFPaiRemuneracion.reset(mapping, request);
        }
        return fFPaiRemuneracion;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property idRemuneracion.
     */
    private Long idRemuneracion;

    /**
     * Getter for property idRemuneracion.
     * @return Value of property idRemuneracion.
     */
    public Long getIdRemuneracion() {
        return this.idRemuneracion;
    }

    /**
     * Setter for property idRemuneracion.
     * @param idRemuneracion New value of property idRemuneracion.
     */
    public void setIdRemuneracion(Long idRemuneracion) {
        this.idRemuneracion = idRemuneracion;
    }

/**
     * Holds value of property resolucion.
     */
    private Long resolucion;

    /**
     * Getter for property resolucion.
     * @return Value of property resolucion.
     */
    public Long getResolucion() {
        return this.resolucion;
    }

    /**
     * Setter for property resolucion.
     * @param resolucion New value of property resolucion.
     */
    public void setResolucion(Long resolucion) {
        this.resolucion = resolucion;
    }

/**
     * Holds value of property listPaiResolucion.
     */
    private List<Pair> listPaiResolucion;

    /**
     * Getter for property listPaiResolucion.
     * @return Value of property listPaiResolucion.
     */
    public List<Pair> getListPaiResolucion() {
        return this.listPaiResolucion;
    }

    /**
     * Setter for property listPaiResolucion.
     * @param listPaiResolucion New value of property listPaiResolucion.
     */
    public void setListPaiResolucion(List<Pair> listPaiResolucion) {
        this.listPaiResolucion = listPaiResolucion;
    }

/**
     * Holds value of property concepto.
     */
    private String concepto;

    /**
     * Getter for property concepto.
     * @return Value of property concepto.
     */
    public String getConcepto() {
        return this.concepto;
    }

    /**
     * Setter for property concepto.
     * @param concepto New value of property concepto.
     */
    public void setConcepto(String concepto) {
        this.concepto = concepto;
    }

/**
     * Holds value of property tipo_Financiamiento.
     */
    private String tipo_Financiamiento;

    /**
     * Getter for property tipo_Financiamiento.
     * @return Value of property tipo_Financiamiento.
     */
    public String getTipo_Financiamiento() {
        return this.tipo_Financiamiento;
    }

    /**
     * Setter for property tipo_Financiamiento.
     * @param tipo_Financiamiento New value of property tipo_Financiamiento.
     */
    public void setTipo_Financiamiento(String tipo_Financiamiento) {
        this.tipo_Financiamiento = tipo_Financiamiento;
    }

/**
     * Holds value of property fec_Ini.
     */
    private String fec_Ini;

    /**
     * Getter for property fec_Ini.
     * @return Value of property fec_Ini.
     */
    public String getFec_Ini() {
        return this.fec_Ini;
    }

    /**
     * Setter for property fec_Ini.
     * @param fec_Ini New value of property fec_Ini.
     */
    public void setFec_Ini(String fec_Ini) {
        this.fec_Ini = fec_Ini;
    }

/**
     * Holds value of property fec_Fin.
     */
    private String fec_Fin;

    /**
     * Getter for property fec_Fin.
     * @return Value of property fec_Fin.
     */
    public String getFec_Fin() {
        return this.fec_Fin;
    }

    /**
     * Setter for property fec_Fin.
     * @param fec_Fin New value of property fec_Fin.
     */
    public void setFec_Fin(String fec_Fin) {
        this.fec_Fin = fec_Fin;
    }




}